package cn.flyme.shop.vo;

public class CartVo {

    /**
     * 购物车Id
     */
    private  Long id;

    /**
     * 用户id
     */
    private Long uid;

    /**
     * 商品id
     */
    private Long gid;

    /**
     * 商品名称
     */
    private String gname;

    /**
     * 商品数量
     */
    private Integer goodsNum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getGid() {
        return gid;
    }

    public void setGid(Long gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    @Override
    public String toString() {
        return "CartVo{" +
                "id=" + id +
                ", uid=" + uid +
                ", gid=" + gid +
                ", gname='" + gname + '\'' +
                ", goodsNum=" + goodsNum +
                '}';
    }
}
